package server.layer;

import java.awt.*;
import java.io.IOException;
import java.sql.SQLException;

/**
 * Created by IntelliJ IDEA.
 * User: Awake
 * Date: 22.04.12
 * Time: 18:42
 * To change this template use File | Settings | File Templates.
 */
public class ServerMain {
    public static void main(String[] args){
        EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                ServiceServer sockServ = new ServiceServer();
            }
        });

        try {
            JDBCUtil.startConnection();
        } catch (SQLException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        } catch (IOException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        }
    }
}
